package cn.csg.iotplatform.module.system.service.logger;

import cn.csg.iotplatform.framework.common.pojo.PageResult;
import cn.csg.iotplatform.module.system.controller.admin.logger.vo.loginlog.SystemLogPageReqVO;
import cn.csg.iotplatform.module.system.dal.dataobject.logger.GatewayLogDO;
import cn.csg.iotplatform.module.system.dal.mysql.logger.GatewayLogMapper;
import org.springframework.stereotype.Service;
import org.springframework.validation.annotation.Validated;

import javax.annotation.Resource;

/**
 * 系统日志 Service 实现
 */
@Service
@Validated
public class SystemLogServiceImpl implements SystemLogService {

    @Resource
    private GatewayLogMapper systemLogMapper;

    @Override
    public PageResult<GatewayLogDO> getSystemLogPage(SystemLogPageReqVO pageReqVO) {
        return systemLogMapper.selectPage(pageReqVO);
    }


}
